/**
 * Copyright (c) HashiCorp, Inc.
 * SPDX-License-Identifier: BUSL-1.1
 */

.control-group,
.control-group-success {
  @extend .box;
  box-shadow: $box-shadow-middle, 0 0 1px $grey-dark;
}
.control-group-success.is-editor {
  background: $grey-lightest;
}

.control-group a {
  color: currentColor;
}
.control-group-header {
  box-shadow: 0 0 1px currentColor;
  padding: $spacing-10 $spacing-14;
  background: $grey-lightest;
  color: $grey-dark;
  position: relative;
  strong {
    color: currentColor;
  }
}

.control-group-header.is-success {
  color: $green-dark;
  background: $green-lightest;
}

.control-group .authorizations {
  margin-top: $spacing-10;
}
